import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path:'/login',
      name:'login',
      component:()=>import('./views/login/login.vue')
    },
    //首页
    {
      path: '/',
      name: 'home',
      component: () => import('./views/Home.vue')
    },
    //jvm基础信息
    {
      path: '/jvm',
      name: 'jvm',
      component: () => import('./views/baseinfo/Jvm.vue')
    },
    //spring基础信息
    {
      path: '/spring',
      name: 'spring',
      component: () => import('./views/baseinfo/Spring.vue')
    },
    //数据库基础信息
    {
      path: '/db-info',
      name: 'dbInfo',
      component: () => import('./views/database/DatabaseInfo.vue')
    },
    //swagger接口文档
    {
      path: '/document-swagger',
      name: 'swaggerApi',
      component: () => import('./views/document/Swagger.vue')
    },
    //json转java工具
    {
      path: '/json-to-java',
      name: 'jsonToJava',
      component: () => import('./views/tools/JsonToJava.vue')
    },
	//设备监控
	{
	  path: '/device-actuator',
	  name: 'deviceActuator',
	  component: () => import('./views/actuator/device-actuator.vue')
	},
    {
      path:'/system-timer',
      name:'systemTimer',
      component:()=>import('./views/system/Timer.vue')
    }
  ]
})
